package com.atguigu;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@RefreshScope//无感刷新配置文件的配置信息（就是不需要重新启动服务）
public class BaseApplication {

    public static void main(String[] args) {

        SpringApplication.run(BaseApplication.class,args);
    }
}
